Skip to main content

hilitedRange

Type

property

Summary

Get and set the currently selected range of text.

Syntax

: get the hilitedRange of <widget>
set the hilitedRange of <widget> to <pRange>

Description

Setting the autoHilite to true will disable page changes via user interaction. The default for autoHilite is true.

Parameters

NameTypeDescription

pRange

array

An array with keys:

  • "from":
   - \"page\" - the page selection begins
- \"index\" - the 1 based character index of the start of the selection
- \"to\":
- \"page\" - the page selection ends
- \"index\" - the 1 based character index of the end of the selection

Compatibility and Support

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile